package com.hnas.trade.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.hnas.trade.dao.TradeRecordDetailDao;
import com.hnas.trade.orm.TradeRecordDetail;
import com.hnas.trade.service.TradeRecordDetailService;

@Component("tradeRecordDetailService")
//@Transactional(isolation=Isolation.READ_COMMITTED,readOnly=false,propagation=Propagation.REQUIRED,value="transactionManagerHnt")
@Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRED)
public class TradeRecordDetailServiceImpl implements TradeRecordDetailService{

	@Autowired
	private TradeRecordDetailDao tradeRecordDetailDao;

	@Override
	public void save(TradeRecordDetail dto) throws Exception {
		tradeRecordDetailDao.save(dto);
	}
	
	

}
